package cn.wolfcode.crud.mapper;

import cn.wolfcode.crud.domain.Department;
import cn.wolfcode.crud.qo.QueryObject;

import java.util.List;

public interface DepartmentMapper {
    void save(Department department);
    void delete(Long id);
    void update(Department department);
    Department get(Long id);
    List<Department> listAll();


    List<Department> selectForList(QueryObject qo);
}
